Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use metal-toolbox version of flashrom #121

Merged
merged 1 commit into from
Jan 11, 2024
Merged

Conversation

nshalman
Copy link
Contributor

@nshalman nshalman commented Jan 4, 2024

What does this PR do

Use https://github.com/metal-toolbox/flashrom/releases/tag/v1.3.99

The HW vendor this change applies to (if applicable)

The HW model number, product name this change applies to (if applicable)

The BMC firmware and/or BIOS versions that this change applies to (if applicable)

What version of tooling - vendor specific or opensource does this change depend on (if applicable)

How can this change be tested by a PR reviewer?

Test if the newer flashrom binary works better.

Description for changelog/release notes

Updated flashrom with patches from metal-toolbox

@nshalman nshalman force-pushed the flashrom-from-source branch 3 times, most recently from febbd98 to fd1ddd8 Compare January 4, 2024 22:14
flashrom/flashrom.spec Outdated Show resolved Hide resolved
@@ -86,6 +98,9 @@ RUN microdnf install -y --setopt=tsflags=nodocs --setopt=install_weak_deps=0 \

RUN pip install uefi_firmware==v1.11

# Install our custom flashrom package
COPY --from=flashrom /root/rpmbuild/RPMS/x86_64/flashrom*.rpm /tmp
RUN rpm -ivh /tmp/flashrom*.rpm

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recall back in CentOS that using yum install /path/to/rpm was preferable to using rpm -i... it probably does not matter here, but it is something to think about.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was unable to figure out how to get microdnf to install from a local file. Suggestions welcome.

@nshalman nshalman changed the title Build our version of flashrom from source Use metal-toolbox version of flashrom Jan 8, 2024
Signed-off-by: Nahum Shalman <nshalman@equinix.com>
@nshalman nshalman merged commit 3fe00ad into main Jan 11, 2024
6 checks passed
@nshalman nshalman deleted the flashrom-from-source branch January 11, 2024 14:59
mmlb referenced this pull request in metal-toolbox/vogelkop Jun 11, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/metal-toolbox/ironlib](https://togithub.com/metal-toolbox/ironlib)
| `v0.2.12` -> `v0.2.17` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fmetal-toolbox%2fironlib/v0.2.17?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fmetal-toolbox%2fironlib/v0.2.17?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fmetal-toolbox%2fironlib/v0.2.12/v0.2.17?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fmetal-toolbox%2fironlib/v0.2.12/v0.2.17?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>metal-toolbox/ironlib
(github.com/metal-toolbox/ironlib)</summary>

###
[`v0.2.17`](https://togithub.com/metal-toolbox/ironlib/releases/tag/v0.2.17)

[Compare
Source](https://togithub.com/metal-toolbox/ironlib/compare/v0.2.16...v0.2.17)

#### What's Changed

- Only ship flashrom on x86\_64 for now by
[@&#8203;nshalman](https://togithub.com/nshalman) in
[https://github.com/metal-toolbox/ironlib/pull/122](https://togithub.com/metal-toolbox/ironlib/pull/122)

**Full Changelog**:
metal-toolbox/ironlib@v0.2.16...v0.2.17

###
[`v0.2.16`](https://togithub.com/metal-toolbox/ironlib/releases/tag/v0.2.16)

[Compare
Source](https://togithub.com/metal-toolbox/ironlib/compare/v0.2.15...v0.2.16)

#### What's Changed

- Use metal-toolbox version of flashrom by
[@&#8203;nshalman](https://togithub.com/nshalman) in
[https://github.com/metal-toolbox/ironlib/pull/121](https://togithub.com/metal-toolbox/ironlib/pull/121)

#### New Contributors

- [@&#8203;nshalman](https://togithub.com/nshalman) made their first
contribution in
[https://github.com/metal-toolbox/ironlib/pull/121](https://togithub.com/metal-toolbox/ironlib/pull/121)

**Full Changelog**:
metal-toolbox/ironlib@v0.2.15...v0.2.16

###
[`v0.2.15`](https://togithub.com/metal-toolbox/ironlib/releases/tag/v0.2.15)

[Compare
Source](https://togithub.com/metal-toolbox/ironlib/compare/v0.2.14...v0.2.15)

#### What's Changed

- Vc/logo uefi image hash by
[@&#8203;DoctorVin](https://togithub.com/DoctorVin) in
[https://github.com/metal-toolbox/ironlib/pull/120](https://togithub.com/metal-toolbox/ironlib/pull/120)

#### New Contributors

- [@&#8203;DoctorVin](https://togithub.com/DoctorVin) made their first
contribution in
[https://github.com/metal-toolbox/ironlib/pull/120](https://togithub.com/metal-toolbox/ironlib/pull/120)

**Full Changelog**:
metal-toolbox/ironlib@v0.2.14...v0.2.15

###
[`v0.2.14`](https://togithub.com/metal-toolbox/ironlib/releases/tag/v0.2.14)

[Compare
Source](https://togithub.com/metal-toolbox/ironlib/compare/v0.2.13...v0.2.14)

#### What's Changed

- Dockerfile: install alma minimal updates by
[@&#8203;joelrebel](https://togithub.com/joelrebel) in
[https://github.com/metal-toolbox/ironlib/pull/117](https://togithub.com/metal-toolbox/ironlib/pull/117)

**Full Changelog**:
metal-toolbox/ironlib@v0.2.13...v0.2.14

###
[`v0.2.13`](https://togithub.com/metal-toolbox/ironlib/releases/tag/v0.2.13)

[Compare
Source](https://togithub.com/metal-toolbox/ironlib/compare/v0.2.12...v0.2.13)

#### What's Changed

- Dockerfile: Restate ARG TARGETOS TARGETARCH after FROM almalinux by
[@&#8203;splaspood](https://togithub.com/splaspood) in
[https://github.com/metal-toolbox/ironlib/pull/114](https://togithub.com/metal-toolbox/ironlib/pull/114)

**Full Changelog**:
metal-toolbox/ironlib@v0.2.12...v0.2.13

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/metal-toolbox/vogelkop).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants